# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.contrib import admin
from .models import *

# Register your models here.
@admin.register(Worker_info)
class WorkerAdmin(admin.ModelAdmin):
    list_display = ['worker_number', 'worker_name', 'worker_ip', 'worker_net_type', 'worker_apply_date']
    # 设置哪些字段可以点击进入编辑界面
    list_display_links = ('worker_number', 'worker_name')

admin.site.register(Worker_net_type)
admin.site.register(Title_type)
admin.site.register(Class_type)
admin.site.register(Address_info)
admin.site.register(Stuff_state_info)
admin.site.register(Stuff_property_info)